<!-- title: schools.utils --><div class="dev-header">

<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
	Version 1.0 beta</a>


	<a class="btn btn-default btn-sm" href="https://github.com/frappe/schools/blob/develop/schools/utils.py"
		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>

</div>





	
        
	<h3 style="font-weight: normal;">Class <b>OverlapError</b></h3>
    
    <p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
    
    <div class="docs-attr-desc"><p></p>
</div>
    <div style="padding-left: 30px;">
        
    </div>
    <hr>

	

	
        
    
    
	<p class="docs-attr-name">
        <a name="schools.utils.get_overlap_for" href="#schools.utils.get_overlap_for" class="text-muted small">
            <i class="icon-link small" style="color: #ccc;"></i></a>
		schools.utils.<b>get_overlap_for</b>
        <i class="text-muted">(doc, doctype, fieldname, value=None)</i>
    </p>
	<div class="docs-attr-desc"><p>Returns overlaping document for specified feild.</p>

<p><strong>Parameters:</strong></p>

<ul>
<li><strong><code>fieldname</code></strong> -  Checks Overlap for this feild </li>
</ul>
</div>
	<br>

	

	
        
    
    
	<p class="docs-attr-name">
        <a name="schools.utils.validate_overlap_for" href="#schools.utils.validate_overlap_for" class="text-muted small">
            <i class="icon-link small" style="color: #ccc;"></i></a>
		schools.utils.<b>validate_overlap_for</b>
        <i class="text-muted">(doc, doctype, fieldname, value=None)</i>
    </p>
	<div class="docs-attr-desc"><p>Checks overlap for specified feild.</p>

<p><strong>Parameters:</strong></p>

<ul>
<li><strong><code>fieldname</code></strong> -  Checks Overlap for this feild </li>
</ul>
</div>
	<br>

	



<!-- autodoc -->